package com.ruibang.glass.produce.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-01-23  14:32
 * @Description: TODO:中间接收测量数据实体
 * @Version: 1.0
 */
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class MiddleMeasure implements Serializable {
    @ApiModelProperty("日期时间")
    @ExcelIgnore
    private String dateTime;

    @ApiModelProperty("日期")
    @ColumnWidth(18)
    @ExcelProperty(value = {"日期"}, index = 0)
    private String startDate;


    @ApiModelProperty("时间")
    @ColumnWidth(18)
    @ExcelProperty(value = {"时间"}, index = 1)
    private String startTime;


    @ApiModelProperty("ID")
    @ColumnWidth(18)
    @ExcelProperty(value = {"ID"}, index = 2)
    private String glassId;


    @ApiModelProperty("左上")
    @ColumnWidth(18)
    @ExcelProperty(value = {"中间接收测量数据（mm）", "左上"}, index = 3)
    private String zs;


    @ApiModelProperty("左下")
    @ColumnWidth(18)
    @ExcelProperty(value = {"中间接收测量数据（mm）", "左下"}, index = 4)
    private String zx;


    @ApiModelProperty("右上")
    @ColumnWidth(18)
    @ExcelProperty(value = {"中间接收测量数据（mm）", "右上"}, index = 5)
    private String ys;


    @ApiModelProperty("右下")
    @ColumnWidth(18)
    @ExcelProperty(value = {"中间接收测量数据（mm）", "右下"}, index = 6)
    private String yx;
}
